package task_1;

public class test_cat {

	public static void main(String[] args) {
		cat ourcat = new cat();
		ourcat.eat();
		ourcat.sleep();
		System.out.print(ourcat.speak("I want to rock!\n"));
		Dog ourDog = new Dog();
		ourDog.eat();
		ourDog.sleep();
		System.out.print(ourDog.say("Vasya"));
		System.out.print(ourDog.calc(2, 4));
	}

}
